package storage;

/*
 * PCB类
 * @time:2014-10-02
 */
public class Pcb {

	private int pid;
	private int ram;
	private int level;
	private String status;
	private int startTime;
	private int endTime; 
	private int runTime;
	private int needTime;
	private int devANumber;
	private int devBNumber;
	private int devCNumber;
	private boolean haveDev;
	
	public Pcb(){
		status=null;
		haveDev=false;
	}
	
	public int getPid() {
		return pid;
	}

	public void setPid(int pid) {
		this.pid = pid;
	}

	public int getRam() {
		return ram;
	}

	public void setRam(int ram) {
		this.ram = ram;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getStartTime() {
		return startTime;
	}

	public void setStartTime(int startTime) {
		this.startTime = startTime;
	}

	public int getEndTime() {
		return endTime;
	}

	public void setEndTime(int endTime) {
		this.endTime = endTime;
	}

	public int getRunTime() {
		return runTime;
	}

	public void setRunTime(int runTime) {
		this.runTime = runTime;
	}

	public int getNeedTime() {
		return needTime;
	}

	public void setNeedTime(int needTime) {
		this.needTime = needTime;
	}

	public int getDevANumber() {
		return devANumber;
	}

	public void setDevANumber(int devANumber) {
		this.devANumber = devANumber;
	}

	public int getDevBNumber() {
		return devBNumber;
	}

	public void setDevBNumber(int devBNumber) {
		this.devBNumber = devBNumber;
	}

	public int getDevCNumber() {
		return devCNumber;
	}

	public void setDevCNumber(int devCNumber) {
		this.devCNumber = devCNumber;
	}

	public boolean isHaveDev() {
		return haveDev;
	}

	public void setHaveDev(boolean haveDev) {
		this.haveDev = haveDev;
	}

	

}
